package com.sdhs.paas.authserver;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;


@SpringBootApplication
//@EnablePaasRestTemplate
//@EnableDiscoveryClient
//@EnableAutoConfiguration(exclude = { JpaRepositoriesAutoConfiguration.class,HibernateJpaAutoConfiguration.class, DataSourceAutoConfiguration.class,
//		MybatisAutoConfiguration.class })
@ComponentScan(value = { "com.sdhs"})
public class AuthServerApplication {

	public static void main(String[] args) {
		ConfigurableApplicationContext ctx = SpringApplication.run(AuthServerApplication.class, args);
		System.out.println("NativeSdkApplication 启动完毕！应用名称:{}--"+ctx.getId());
	}
}
